.preview {
  cursor: zoom-in;
}

.resider {
  position: absolute;
  z-index: 1;

  &::after {
    background-color: var(--color-bg-1);
    border: 1px solid rgb(var(--arcoblue-6));
    border-radius: 10px;
    content: '';
    display: block;
    height: 10px;
    width: 10px;
    z-index: 1;
  }

  &[data-type='lt'] {
    cursor: nwse-resize;
    left: -5px;
    top: -5px;
  }

  &[data-type='rt'] {
    cursor: nesw-resize;
    right: -5px;
    top: -5px;
  }

  &[data-type='lb'] {
    bottom: -5px;
    cursor: nesw-resize;
    left: -5px;
  }

  &[data-type='rb'] {
    bottom: -5px;
    cursor: nwse-resize;
    right: -5px;
  }
}
